#ifndef INPUTHANDLER_H
#define INPUTHANDLER_H

#include <QObject>
#include <QDebug>

class InputHandler : public QObject
{
    Q_OBJECT

private:
    QString text_;
public:
    explicit InputHandler(QObject *parent = nullptr);

    Q_INVOKABLE void getFromQml(QString text) {
           text_ = text;
           qDebug() << text_ << "#############" << text;
    }

public slots:
    void handleInput(const QString& input);

signals:

};

#endif // INPUTHANDLER_H
